package com.chushouya.product.dto.admin.tempevaluate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 模板估价项目新增DTO
 */
@Data
@ApiModel(value = "模板估价项目新增DTO")
public class TempEvaluateItemSaveDTO {

    @ApiModelProperty(value = "模板ID", required = true)
    @NotNull(message = "模板ID不能为空")
    private Long tempId;

    @ApiModelProperty(value = "项目ID", required = true)
    @NotNull(message = "项目ID不能为空")
    private Long itemId;

    @ApiModelProperty(value = "项目名称", required = true)
    @NotBlank(message = "项目名称不能为空")
    private String itemName;

    @ApiModelProperty(value = "选择类型")
    private Integer selectType;

    @ApiModelProperty(value = "排序")
    private Integer sort;
}
